<template>
  <el-card class="box-card">
    <div class="box-bread">
      <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item>{{ one }}</el-breadcrumb-item>
        <el-breadcrumb-item>{{ two }}</el-breadcrumb-item>
      </el-breadcrumb>
      <slot name="button"></slot>
    </div>
    <slot name="main"></slot>
  </el-card>
</template>

<script>
export default {
  name: '',
  props: {
    one: {
      type: String,
      default: '文章管理'
    },
    two: {
      type: String,
      default: '文章分类'
    }
  },
  data () {
    return {}
  },
  created () {},
  computed: {},
  methods: {}
}
</script>
<style lang='less'  scoped>
.box-card {
  .box-bread {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
}
</style>
